package com.ruoyi.project.data.mapper;

import com.ruoyi.project.data.domain.WeightRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description 异常信息
 * @params  * @param null
 * @ return
 * @Author hh
 * Date create by 2020/4/5 15:19
 */
public interface AbnormalMapper {

      // 超重异常
    List<Map<String, Object>> selectCzYcDataList2(@Param("param") Map<String, Object> param);

    List<Map<String, Object>> selectCzYcDataList3(@Param("param") Map<String, Object> param);


    // 车牌异常 --运单
    List<Map<String, Object>> selectCpYcDataList(@Param("param") Map<String, Object> param);

    // 车牌异常 --- 称重记录
    List<Map<String, Object>> selectCpYcDataList2(@Param("param") Map<String, Object> param);

    // 运单异常
    List<Map<String, Object>> selectYdYcDataList(@Param("param") Map<String, Object> param);
    // 运单异常 --v2
    List<Map<String, Object>> selectYdYcDataList2(@Param("param") Map<String, Object> param);

    // 无称重记录出场
    List<Map<String, Object>> selectYdYcDataList3(@Param("param") Map<String, Object> param);

    //24小时无称重记录
    List<Map<String, Object>> selectWczjlDataList(@Param("param") Map<String, Object> param);

    //超载出场
    List<Map<String, Object>> selectCzccDataList(@Param("param") Map<String, Object> param);

    // 无运单记录
    List<Map<String, Object>> selectNoRecordabnormal(@Param("param") Map<String, Object> param);

    void updateRecord(@Param("param") Map<String, Object> param);

    List<Map<String, Object>> selectNoWaybillWeightRecordList(WeightRecord weightRecord);

}
